package com.yjt.oauth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yjt.common.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author zzp
 * @since 2021-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("b_emply")
@ApiModel(value="Emply对象", description="员工表")
public class Emply extends CommonEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工id")
    @TableId(value = "emply_id", type = IdType.ID_WORKER_STR)
    private String emplyId;

    @ApiModelProperty(value = "员工姓名")
    private String emplyName;

    @ApiModelProperty(value = "手机号码")
    private String mobileNum;

    @ApiModelProperty(value = "身份证号")
    private String idNo;

    @ApiModelProperty(value = "邮箱")
    private String mailbox;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "所属组织")
    private String orgId;

    @ApiModelProperty(value = "登录名")
    private String logonName;

    @ApiModelProperty(value = "密码")
    private String pwd;

}
